package day07;

public class TestStudent {
    public static void main(String[] args) {
        //创建学生对象
        Student hzx=new Student();
        //给成员变量赋值
        hzx.name="何正新";
        hzx.age=23;
        hzx.address="甘肃庆阳";
        hzx.id=001;
        hzx.weight=130;
        hzx.height=180;
        //调用成员方法
        hzx.sayHi();
        hzx.introduce();
    }
}
